package com.example.shop_car_2208.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.shop_car_2208.R
import com.example.shop_car_2208.entity.SearchEntity

class HistoryAdapter:BaseQuickAdapter<SearchEntity,BaseViewHolder>(R.layout.item_search) {
    override fun convert(holder: BaseViewHolder, item: SearchEntity) {
        holder.setText(R.id.his_tv,item.name)
    }
}